package com.ruoyi.web.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * K8s用户组对象 kubernetes_group
 * 
 * @author ruoyi
 * @date 2022-04-17
 */
public class KubernetesGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 组名 */
    @Excel(name = "组名")
    private String groupName;

    /** K8s组权限信息 */
    private List<KubernetesGroupRoleBinding> kubernetesGroupRoleBindingList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }

    public List<KubernetesGroupRoleBinding> getKubernetesGroupRoleBindingList()
    {
        return kubernetesGroupRoleBindingList;
    }

    public void setKubernetesGroupRoleBindingList(List<KubernetesGroupRoleBinding> kubernetesGroupRoleBindingList)
    {
        this.kubernetesGroupRoleBindingList = kubernetesGroupRoleBindingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupName", getGroupName())
            .append("kubernetesGroupRoleBindingList", getKubernetesGroupRoleBindingList())
            .toString();
    }
}
